package pojo;

import lombok.AllArgsConstructor;

import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlRootElement;

@AllArgsConstructor
@NoArgsConstructor

@XmlRootElement
public class WxPayNotify {
    private String appid;//公众账号ID
    private String attach;//附加数据
    private String bank_type;//银行类型，
    private String mch_id;//商户id
    private String nonce_str;//随机字符串
    private String openid;//用户在直连商户appid下的唯一标识。 
    private String out_trade_no;//订单号
    private String trade_state ;//交易状态
    private String trade_state_desc;//交易状态描述 
    private String amount ;//优惠券面额 
    private String coupon_id;//券ID 
    private String trade_type;//交易类型，枚举值
    private String transaction_id;//微信支付系统生成的订单号
    private String success_time ;//支付完成时间
    private String total ;//订单总金额，单位为分
    private String payer_total ;//用户支付金额，单位为分
    private String currency ;//货币类型
    private String payer_currency ;//用户支付币种 
    private String Return_code ;
    public String getAttach() {
		return attach;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getBank_type() {
		return bank_type;
	}
	public void setBank_type(String bank_type) {
		this.bank_type = bank_type;
	}
	public String getMch_id() {
		return mch_id;
	}
	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}
	public String getNonce_str() {
		return nonce_str;
	}
	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getOut_trade_no() {
		return out_trade_no;
	}
	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	public String getTrade_state() {
		return trade_state;
	}
	public void setTrade_state(String trade_state) {
		this.trade_state = trade_state;
	}
	public String getTrade_state_desc() {
		return trade_state_desc;
	}
	public void setTrade_state_desc(String trade_state_desc) {
		this.trade_state_desc = trade_state_desc;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public String getCoupon_id() {
		return coupon_id;
	}
	public void setCoupon_id(String coupon_id) {
		this.coupon_id = coupon_id;
	}
	public String getTrade_type() {
		return trade_type;
	}
	public void setTrade_type(String trade_type) {
		this.trade_type = trade_type;
	}
	public String getTransaction_id() {
		return transaction_id;
	}
	public void setTransaction_id(String transaction_id) {
		this.transaction_id = transaction_id;
	}
	public String getSuccess_time() {
		return success_time;
	}
	public void setSuccess_time(String success_time) {
		this.success_time = success_time;
	}
	public String getTotal() {
		return total;
	}
	public void setTotal(String total) {
		this.total = total;
	}
	public String getPayer_total() {
		return payer_total;
	}
	public void setPayer_total(String payer_total) {
		this.payer_total = payer_total;
	}
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public String getPayer_currency() {
		return payer_currency;
	}
	public void setPayer_currency(String payer_currency) {
		this.payer_currency = payer_currency;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
    public String getReturn_code() {
		return Return_code;
	}

}
